home *** CD-ROM | disk | FTP | other *** search
- Colonization Popup Text files:
-
- A) Do not translate any line beginning with the "@" character.
- B) Curly braces {...} cause the enclosed text to be highlighted.
- C) %STRING0 (or %STRING1..3) marks the place where a string will
- be substituted into the text by the program. The string markers
- can be moved around or taken out entirely.
- D) %NUMBER0 (or %NUMBER1..3) marks the place where a number will
- be substituted into the text. The markers can be moved around
- in the text freely (or removed).
- E) The program will automatically wrap the text around lines (so
- line and word length do not generally matter). Lines will be
- added vertically if necessary. The only problem occurs if the
- text gets so big as to overflow off the screen. If this happens,
- the "PopupBoundaries" error will be displayed. Ways to correct
- this problem include:
- 1) shortening the text.
- 2) increasing the pixel width of the box (the @WIDTH=190 statement
- can be expanded to @WIDTH=220 or anything up to about 315).
- 3) Going to the smaller font by inserting a line @SMALLFONT after
- the @WIDTH line.
- F) Be sure not to eliminate any blank lines from the text file. Blank
- lines often constitute the separator between the main text body and
- menu option lines for interactive popups. Deleting blank lines may
- cause popup boxes to malfunction (the menu text appearing as main
- body text, for instance).
-
-
- Samples (>> denotes example result text from box):
-
- @CARGOREADY1
- @width=190
- A new cargo of {%STRING1} is ready at {%STRING0}, Your Excellency.
- %STRING0 has reached its storage capacity for %STRING1 ({%NUMBER0}), so
- we may wish to consider building a larger {warehouse} there.
-
- >>A new cargo of muskets is ready at Jamestown, Your Excellency.
- >>Jamestown has reached its storage capacity for muskets (100), so we
- >>may wish to consider building a larger warehouse there.
-
- @SIGNTREATY
- @width=190
- The {%STRING0} and {%STRING1} have signed a peace treaty.
-
- >>The Dutch and French have signed a peace treaty.
-
- @PEACEMEEK
- @width=220
- "Excellent. All of the land which you now occupy
- shall constitute the {%STRING0} sphere; the land which we occupy shall be
- {%STRING1} in perpetuity. Please remember not to trespass in
- those areas."
-
- >>"Excellent. All of the land which you now occupy shall constitute
- >>the English sphere; the land which we occupy shall be French in
- >>perpetuity. Please remember not to trespass in those areas."
-